import { RoutesAlias } from '@/router/routesAlias'
import { AppRouteRecord } from '@/types/router'

const meta = {}

const pre = 'shuJuBaoBiao-'

export default {
  path: '/shuJuBaoBiao',
  name: 'shuJuBaoBiao',
  redirect: {
    name: `${pre}shengChanBaoBiao`
  },
  meta: { ...meta, title: '数据报表' },
  component: RoutesAlias.Home,
  children: [
    {
      path: 'shengChanBaoBiao',
      name: '12100',
      meta: {
        ...meta,
        title: '生产报表'
      }
      // component: () => import('@/pages/shuJuBaoBiao/shengChanBaoBiao')
    },
    {
      path: 'jiChuBaoBiao',
      name: '12200',
      meta: {
        ...meta,
        title: '基础报表'
      }
      // component: () => import('@/pages/shuJuBaoBiao/jiChuBaoBiao')
    },
    {
      path: 'zongHeBaoBiao',
      name: '12700',
      meta: {
        ...meta,
        title: '综合报表'
      }
      // component: () => import('@/pages/shuJuBaoBiao/zongHeBaoBiao')
    },
    {
      path: 'zhiJiBaoBiao',
      name: '12300',
      meta: {
        ...meta,
        title: '织机报表'
      }
      // component: () => import('@/pages/shuJuBaoBiao/zhiJiBaoBiao')
    },
    {
      path: 'luoTongBaoBiao',
      name: '12400',
      meta: {
        ...meta,
        title: '络筒报表'
      }
      // component: () => import('@/pages/shuJuBaoBiao/luoTongBaoBiao')
    },
    {
      path: 'bingTiaoBaoBiao',
      name: '12600',
      meta: {
        ...meta,
        title: '并条报表'
      }
      // component: () => import('@/pages/shuJuBaoBiao/bingTiaoBaoBiao')
    },
    {
      path: 'xiShaBaoBiao',
      name: '12500',
      meta: {
        ...meta,
        title: '平均纱支报表'
      }
      // component: () => import('@/pages/shuJuBaoBiao/xiShaBaoBiao')
    },
    {
      path: 'xiShaBaoBiao/shiJiCanNeng',
      name: '121500',
      meta: {
        ...meta,
        title: '实际产能报表'
      }
      // component: () => import('@/pages/shuJuBaoBiao/xiShaBaoBiao/shiJiCanNeng')
    },
    {
      path: 'jiTaiBanBao',
      name: '12900',
      meta: {
        ...meta,
        title: '机台班报'
      }
      // component: () => import('@/pages/shuJuBaoBiao/jiTaiBanBao')
    },
    {
      path: 'pingZhongFengLeiRiBao',
      name: '121000',
      meta: {
        ...meta,
        title: '品种分类日报'
      }
      // component: () => import('@/pages/shuJuBaoBiao/pingZhongFengLeiRiBao')
    },
    {
      path: 'pingZhongFengLeiYueBao',
      name: '121100',
      meta: {
        ...meta,
        title: '品种分类月报'
      }
      // component: () => import('@/pages/shuJuBaoBiao/pingZhongFengLeiYueBao')
    },
    {
      path: 'banZuLeiJiYueBaoBiao',
      name: '121200',
      meta: {
        ...meta,
        title: '区域统计月报'
      }
      // component: () => import('@/pages/shuJuBaoBiao/banZuLeiJiYueBaoBiao')
    },
    {
      path: 'sheBeiYiChangBaoBiao',
      name: '121300',
      meta: {
        ...meta,
        title: '设备异常报表'
      }
      // component: () => import('@/pages/shuJuBaoBiao/sheBeiYiChangBaoBiao')
    },
    {
      path: 'zaiXianPanCun',
      name: '12800',
      meta: {
        ...meta,
        title: '在线盘存'
      }
      // component: () => import('@/pages/shuJuBaoBiao/zaiXianPanCun')
    },
    {
      path: 'daBaoJiShuJu',
      name: '121400',
      meta: {
        ...meta,
        title: '打包机数据'
      }
      // component: () => import('@/pages/shuJuBaoBiao/daBaoJiShuJu')
    },
    {
      path: 'xiShaRiBao',
      name: '121600',
      meta: {
        ...meta,
        title: '细纱日报'
      }
      // component: () => import('@/pages/shuJuBaoBiao/xiShaRiBao')
    },
    {
      path: 'tingTaiBaoBiao',
      name: '121700',
      meta: {
        ...meta,
        title: '停台报表'
      }
      // component: () => import('@/pages/shuJuBaoBiao/tingTaiBaoBiao')
    },
    {
      path: 'xiShaShengChanRiJiHua',
      name: '121800',
      meta: {
        ...meta,
        title: '细纱生产日计划'
      }
      // component: () => import('@/pages/shuJuBaoBiao/xiShaShengChanRiJiHua')
    },
    {
      path: 'chanLiangXiaoLv',
      name: '121900',
      meta: {
        ...meta,
        title: '产量效率'
      }
      // component: () => import('@/pages/shuJuBaoBiao/chanLiangXiaoLv')
    }
  ]
} as AppRouteRecord
